package cn.iocoder.yudao.module.esim.controller.admin.esasset.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - eSim资产分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EsAssetPageReqVO extends PageParam {
    @Schema(description = "激活状态，PENDING_ACTIVATION(0, \"待激活\"),ACTIVATED(1, \"已激活\"),EXPIRED(2, \"已暂停\"),EXPIRED(-1, \"已失效\")")
    private List<Integer> activeStateList;

    @Schema(description = "订单流水号")
    private String orderNo;

    @Schema(description = "用户id", example = "23841")
    private Long userId;

    @Schema(description = "SPU id", example = "18522")
    private Integer spuId;

    @Schema(description = "SKU id", example = "11306")
    private Integer skuId;

    @Schema(description = "eSim商品id", example = "28739")
    private String esProductId;

    @Schema(description = "流量总量MB")
    private Integer totalDataSizeInMb;

    @Schema(description = "流量已使用量MB")
    private Integer usedDataSizeInMb;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startDate;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endDate;

}